package com.haizhi.crm.biz.model;

import com.haizhi.crm.common.model.BaseDo;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by wangshan on 2018/5/16.
 */
@Data
@Entity
@Table(name = "ts_message_source" )
public class MessageSourceDo extends BaseDo {


    @Column(name = "name" )
    private String name;

    @Column(name = "database_name" )
    private String database;

    @Column(name = "schema_name" )
    private String schema;

    @Column(name = "message_type" )
    private String messageType;

    @Column(name = "rule" )
    private String rule;


    @Column(name = "last_pull_time" )
    private Date lastPullTime;


}
